The hammer physics get a bit weird when the cursor is too close to the edge of the screen. I'd suggest removing the left most and right most spawn points for nails.