Check if element is still attached to DOM before calling renderTile

This fixes an issue where the element is removed from the DOM while knockout.list is still rendering its content.