key x offset was wrong