fixed bug where all setEntity Commands didn't get the current selected Entity