fixed issue 1239, MathUtils.ceil was broken in GWT as NumberUtils isn't fully implemented there