Fix immersive mode & gl resize

- Pass raw width & height to internal C/C++ code, so that resizes propagate
- Fixes input button & image missalignment on 4.4+
Move debugbreak to os module
Add diagonials
Merge branch 'master' into skmp/r7-sprint
Merge branch 'master' into skmp/r7-sprint
Merge pull request #530 from LoungeKatt/master

Fix joystick dpad emulation, Refresh onscreen controls
Merge branch 'master' into skmp/r7-sprint
Update Moga lib, Refresh home between windows