Call initDimensions in setSelectionStyles