What if _localX is 0? Same for _localY, of course.