Fix NPE on media started