minor fixes for leap motion