Added resize canvas