removed deadlock, when simulation is cancelled and moved Scene to its own thread