fix left position in absolute mode
modify tests, add new test cases