Fixed the interpolation code in the getWorldXY method so it works for
any view perspective