[Editor 2D] Canvas is resized depending on the size of the window