Fixed Simulation resetting; added some checks for sensor object detection