Fixes x/y rotations which were incorrectly disabled due to this check. Change-Id: Ie8a7c8904c729a91b18243323b0be6110e743137