Problem with calculateAABB