Fixes a bug in gtk 3.4