Fixed pause button bug