fix #3810 (delete key & newer SDLs)