Fixed a bug around handling ox,oy params