Fixed bug where undefined aspRatio was being used.