fixed the 4xMSAA crash on android

This fixes the crash on enabling 4x MSAA in developer mode. It may also fix some other bugs, since this is the correct way to setup a glSurfaceView.