canvas height more consistent