Improved UV scale handling.