Fixed minor problem in play method in MediaThread.