Fixed stupidity on x and y coordinates