Component is initialized if under the document - Fix #1