Bug fix

fixed a bug that the re y could be out of the canvas!