Fixing layout issues only visible on the device.