Fix for validation not occuring on resize