It can get confused if you draw a square with round corners, make sure they are sharp :) Also make sure you're on the post-jam version it has slightly better detection.