Simplify frame clearing and glstate disable