Fix bug with absolute position