Supports setting relative frames when a previous element does not exist

`below_prev` & `above_prev` should set set their frames relative to `y=0` and `right_of_prev` & `left_of_prev` should use `x=0` as their starting point when no previous element exists.