Properly calculate the y position of the element when positioned relative
Merge pull request #1745 from jec006/calculate-y-mouse

Properly calculate the y position of the element when parent is positioned relatively