fixed some controller issues on macs.