Use invalidateSize()