Fix Firefox bug with movetask