Fix problem on Firefox when moving piece using drag and drop