LibGDX API changes, see https://github.com/libgdx/libgdx/pull/2490