Added in listener for parent init to improve performance regardless of when the layout is instantiated.