use an element to get correct position
Merge pull request #20 from yurenju/cube-pos

use an element to get correct position