added fullscreen detection

Use playerHeight instead playerLocation.height