added fullscreen detection

Use playerWidth instead playerLocation.width