Fixed two problematic selectors when resizing.