Fixed rotation bug

Tetrominoes can now never be rotated in a way that would cause some
blocks to leave the grid.