[[ Bug 13829 ]] Round values for formatteRect correctly