fixed focus issue on toggle project window