might have been resizing the canvas that caused that weird bug