Move size setter to refreshVisuals