on zlevel changed the frame operation mode is reset to resize instead of scale