Bug fixes when Attack or Camera windows are opened