Move setting dimensions to MediaManager