Compute cell size properly when mesh resolution argument is given. Fixes bug #1154991