Max and min now works in SAS and CAS

CoreGameScreen crashes when having minimized and maxed from SAS. Camera
still needs to be worked out.