Move sub-layer resize code to proper location
Stuff