Fix pointer position