Fixed unit conversion issue (width screen coordinates are not equivalent to height coordinates).