Fix invalidate with tablet