Correctly call invalidate size