Fixes after changes in libgdx API

Passing this by PR just for everyone to notices, but I'm merging this directly.