Fix errors in getElementRect and dropCheck

If element has no rect return null/undefined from getElementRect.

If getElementRect returns no rect, count as a false dropCheck.