fixed preview image and selection index out of bounds at tilewizard