Added workaround for gui slider bug