[BUG #7273] fixed position calculation