Focus highlighting misaligned in lighttable

In lighttable view, turning on Focus Peaking (Ctrl-Shift F) displays focus regions of images but they are not aligned with the displayed image(s). It looks as though the highlighted focus points come from the un-edited image, not the displayed version of the image. So cropping, rotation, and lens correction seem to displace the focus points from their correct position.

Note that focus highlights in the darkroom view seem to be ok.

I added an issue for it on Github.

dt 3.1.0+1394
Ubuntu 18.04
Tried with crop/rotate, can confirm.

Added confirmation to your bug-report