Invalidate size when active slot changes.