Trebuchet: Fix NPE when rotating

Without this, after change workspace, move an icon and then rotate, Trebuchet crashes
with NPE.

Cherry-picked from: http://review.cyanogenmod.org/#/c/22535/

Change-Id: I3740bdf09d2333e94f9349527adbe350fdfb48e3