Pieces can now rotate even if not seen in the board. Fixed a bug where shifted pieces retain their orientation.