only remove overlay if it exists