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 branch 'master' into skmp/r7-sprint