draw frame outside of an element