fix for screenshot animation glitch in protrait

edit suggested by users Suxsem and AbhishekS on XDA.

Change-Id: I7a03a24c5b1bfdfe616f940b2bd7be42091f45a6

Patchset: 1
http://review.cyanogenmod.org/#/c/55375/