Fixing an issue with the aspect ratio not being updated.