updated the XPhoto to smoothen the image rendering