When the mouse goes of the frame, it should not lead Death to the upper left corner, but rather just leave him at the closese border. Because if you went off the buttom right corner, then it goes in the opposite direction — often the collision cource to whatever you were running from/shooting at.