Fixes anchorForm style check