Fix force close on rotation.