Fixed wrong coords checking