fix(thumbnail): Correctly apply thumbnail style to item directive, closes #509