Fix pausing on HTML5 player