Fixed square output.

closes #1404