[#] Fixed crashes after libgdx update