fix cases where bool(frame._data) is False
Merge pull request #2638 from eteq/fix-empty-array-frame

fix coordinate frames wheb bool(frame._data) is False