Fix for changing planning scenes