correct typo/bug in canvas height check; do not check boundaries when setting minimum size