Improve resizing and placement
Ensure inserted frame is on top