pyxeleditor "aborted (core dump)" on linux
**Description**
pyxeleditor opens but then after a few seconds it crashes. If I run it from a terminal it outputs "aborted (core dump)"

**To Reproduce**
Steps to reproduce the behavior:
1. From a terminal run "pyxeleditor"
2. Move the mouse pointer over the pyxeleditor window
3. See error

**Screenshots**
![2019-01-31-145107_1920x1080_scrot](https://user-images.githubusercontent.com/5603501/52062608-bc732500-2568-11e9-9ef6-97a5eec311f5.png)
![2019-01-31-145058_1920x1080_scrot](https://user-images.githubusercontent.com/5603501/52062616-bf6e1580-2568-11e9-9674-7373f7fde691.png)

**Desktop:**
 - Archlinux 
 - i3wm