Tried to fix coordinate bug