Fix for maximize window on Android