Fixed controller crash. Thanks cjori!