Fixed crash when trying to use spinners