fixed bug that occured when coordinates were set to 0