remove race condition: pygame not initialized on controller initialized.
snap viewport to the bottom-right edges of the map
center the viewport around the player if it is out of scope