Reorder frame elements so they're not in one large object. This fixes the clickthrough problem