Fixing rotation by scaling the frames correctly on layout change