MADS: Fix calculating dimensions for dynamic hotspots