Avoiding player to exit the upper part of the screen

The bug is still not fixed