Adds code to keep contentsize correct after rotation for videos