Use the right frame with determining correct managed display

Closes #223