Great! I was wrong in considering it as the right x-coordinate of the rectangle! Thank you very much Jeff :-D
Hope that helps! Luca Do rate the reply, if it helps or even if it doesnot, because it helps the members to know, what solved the issue. Thanks!