app-wide fix for negative size values