Fixes for new nightly libgdx api changes