getPos() wrong on ie6/7. Close #565, #566.