fixed issue with joinimage positioning