Fix is_playing bug