Fixed thumbnailing of squares.