Mark Allen enjoyed an outrageous fluke on the final black to beat Ukrainian teenager Iulian Boiko in the second round of the Gibraltar Open.

Allen recovered from 3-1 down against his 15-year-old opponent with the aid of a break of 126 to force a decider and was seven points ahead with just the black remaining.

The former Masters champion looked to be attempting a safety when the black hit the jaw of the corner pocket and remarkably rebounded the length of the table and dropped into the yellow pocket.

Lei Peifan, who beat world number three Neil Robertson in the first round, also won a decider to edge past Dylan Emery, while Thepchaiya Un-Nooh recovered from 3-1 down with breaks of 61, 119 and 73 to beat Rod Lawler 4-3.

David Gilbert was also taken the distance before beating Jimmy Robertson 4-3, but former world champion Shaun Murphy enjoyed a more comfortable 4-1 win over Luca Brecel.