Changes: * Fixed off-by-1 bugs in window coordinate evaluation, per tip from trap15. * Joypad rotation as a separate core option