Bugfix for pause/play