Fixed issue with rotation

Rotation wouldn’t update internally if user entered the an out of
bounds value.