bug fix

fixed problems with the edge of the screen