MGR: Prevent zero-size window in a rare situation where registry values have accidentally been set to zero