Made mouse positioning more accurate.