Fixed bounds in call to Node.toImage so the electron will be centered and sized properly, closes #34