Fixed an issue which caused the close button to sometimes appear outside of the feature info box.