Fixed crash if developer window was closed (not toggled) and user tried to reopen.