Fix implementation of width and height of image