-fixes broken keyboard input for firefox (likely an underlying issue with processing.js or firefox)