Boundaries work but causes "setpriority: Invalid argument" error