Fix error when switching simulation and placement mode