Libgdx error fixed