Fixed behaviour of the sticky element when parent(s) are relative

Closes #3