fixed annoying point-set to image bug