Fix for Mako input device creation.