Changed created to rendered; allows dom interaction to work.