Update LoadingScreen.java

Fix to be more complaint with current LibGDX.