Fix #414 ability to pass element to `within_frame`