rotation fix except when y equals exactly 0