Editor: fixed bug for Firefox display coordinates