Fix input not resizing on map resize (Issue #24)
Merge fb49fc495570012e41dae28a2dcf3771301d0ece into 0286e11feb11fa7a8252f651372eb15169acbbda