Add reference to parent Frame on Layouts.
Layouts have no size and now use parent size instead