Bug fix

Uncaught TypeError: Object #<HTMLDivElement> has no method 'position'