switched the order of canvas's height and width