fix bounds check on scale