Bug fix for Android (removed flipVert function that caused an error)