Fix bug with entity selection shadow