Fix SegFault when FrameElements is empty

2 jobs for trains in 14 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Configure
passed #103542
linux
configure-linux

00:00:01

 
  Compile
passed #103543
linux
make-linux

00:00:12