Fix display of modal overlay