x coordinate off when scaling