Fix/xyz image boundaries