make context visible only when not playing -> better performances