attempt at fixing shooting when stuck in boundary

To see this bug (and the fix), collide with a boundary, let go of the arrow key and shoot. The difference is that the shot no longer carries the component of the movement the player had before colliding.