yay working resize canvas