Reuse previousExtent_ local variable

Memory optimization: avoids to create a new extent on every render frame