allow callbacks to modify attachements by moving the decision to calculate boundary value into the correct position inside _render()