Fix error after rendering when there's no selection
Fix error after rendering when there's no selection

GabiGrin/trix,basecamp/trix,ChenMichael/trix,GabiGrin/trix,basecamp/trix,GabiGrin/trix,basecamp/trix,urossmolnik/trix,urossmolnik/trix,urossmolnik/trix,basecamp/trix,ChenMichael/trix,ChenMichael/trix