prevents origin point goes infinite by dividing center by 0