One thing i noticed is that it wont place the image on the button untill you save the project and then it will work ok, so maybe this is the problem for you too and the reason for the error whatever it is.