Screen bounding

Added code to keep the player in the camera's field of view and only set
the AI to attack when on screen.