Fixing Firefox jitter