Implements letterboxing and aspect ratio