Bug fix: positions only apply once