Fixed backgrounds directive - added promise before calling applyCss()