Fix flashing to work with fall damage