Fixed major issue in GdxFactory