Fixed a worldLocation NaN bug