Fix Pan Control Position

variable misreference fixed