Fixes after changes in libgdx API
Merge pull request #209 from anserran/fixlibgdx

Fixes after changes in libgdx API