fixed a little the rotation of pieces