Don’t crash trying to optimize an empty message box.