Fixed the spawn on click.