Make controllermap, etc, work on platforms with hardcoded window sizes.

This makes sure everything renders correctly, even if, say, an Android device
gives you a certain "window" size no matter what you ask for.