fixed changing size only changing canvas