Fixed bug that occured when starting paused