DImageButton - sometimes isn't clickable (and no click cursor)

Okay, so I have a DFrame with a DImageButton on it, and the DImageButton works but when you click the DFrame the DImageButton won’t be clickable (by that, I mean when you click it, nothing happens), and there’s no click cursor when you put your mouse over it.

You might want to post whole code as rules of this section state

Try setting,
[lua]DFrame:SetMouseInputEnabled(true)[/lua]