Related: rhbz#1033108 how did pAnchoredObj end up as NULL

Change-Id: If7d442567d9cea4e3f4d3d68689d11fad0dc930b