Fixed playpause bug