Fixing Firefox stutter problem