solved the frame issue (had to have a position property for absolutely positioned elements to consider it as a parent). QR code now positioned 60% from the top of the frame, which is also set to be as large as the canvas