scaling fix for manually set frames