Finished prevention from missing 'mouseup' events outside the grids.