Fix for commandPane layout