Fixed bug with crashing setup editor