[Bug 1.07] esc in deployment screen

Right clicking on ship designs in deployment screen and then pressing esc will produce a program crash.