Displaying dimension box with the selection cursor