fix bug: properly initialize the cursor pixmap

Thanks to @guillerodriguez for reporting it and suggesting a fix. This
closes #3.