Fix keyboard layout loading for custom keyboards