Fixes auto hotkey assignment.

Fixes styles window list. (And various other windows).

Changes this: http://prntscr.com/331dln

Into this: http://prntscr.com/331d65