take View rotation into account when calculating shadow offsets

- As Material can move along any axis, adjust the shadow offsets
  according to the current rotation of the element
use antialised rendering of View rectangle when element has rotation

- This smooths the visual appearance when the View is rotated during
  transitions