Part of #327: Fix inspector window geometry handling