Don't make component crash

This is a temporary fix to #4793