calculation the mouse position on the slider relied on how the hitbox is positioned, change it according to new hitbox size.