Prevent horizontal scrollbar when the object inspector is minimized