Revert "Configurable 0, 90, 180 and 270 degree rotation feature fix"

This reverts commit 04ff737ebfce92de241b660edde41677d2621c26.