Compute operation on main thread
Use NSShadow