position bug: collision:flip doesn't work while align to cursor

position bug: collision:flip doesn't work while align to cursor

The attachment is a patch, need to modify user's options.<div>
</div><div>While align to cursor, the "at" option has no meaning(and user doesn't need to set it), so I think this patch is OK.</div><div>
</div><div>Any ideas?</div>