Fixed a crash when trying to rotate the O piece