Added support for multi targets
Fixed aspect ratio bug