Fix input not resizing on map resize (Issue #24)