Fixed crash bug with path creation

Got an array out of bounds error when placing paths at the bottom of the
screen.