it works correctly when right clicking a layout in the object tree...but not on canvas
makes it really hard to add things on the fly