Yes, I fixed that. Although it seems it was not backported… I’ll see what I can do.
Edit: I added the fix, here it is the bug report 486419 – Selection fills entire canvas if selection already exists when using reference layers. Hopefully it will be fixed in the next beta.