fixed crash on rotate and centered video and image on scrapbook page