Check for renderer before resizing