Fix starting position generation