Fix selection rendering