add missing check for svg support (#4715)