Generate square image when no height given. Fixes claudetech/leaves#20.