Fixed bug: would render only to the first resolution specified