fix canvas height > width