fixed issue with bringToFront not rendering