Update canvas dimensions for smaller window screens