Switch to fly mode if spacebar is doubleclicked