Fix crash for rects that don't have an action
It shouldn't really happen, but in some cases it does, so be protective
BUGS: 408849