Fix error when <html> is one of multiple dropzones

Also fixed a typo in the getDrops function which didn't cause any
errors.