[#84022] Avoid division by zero using rectangle zoom