Fix for vertical scaling