Placing domain invalid tooltip in right place