Fix for external keyboards