Fixes the two issues.

The dropdown now sizes to fit the magic zoom and the page does not refresh on enter.