Fixed an issue that screenshot comment didn't work in Firefox

Review Request #2477 — Created July 13, 2011 and submitted — Latest diff uploaded

Information

Review Board

Reviewers

In Firefox, position().left sometimes return an float number, which will make the screenshot comment didn't work. Therefore, I convert it to integer.
Manually tested in FF, IE and chrome. Worked fine.