Click Function is not working sometimes in Appium for Android Hybrid App

In above image there is a camera button, that works perfectly with below code.


, But some times it clicks some where else on screen and program fails,

Can someone please help me , I have been trying to figure this out for many days.
Thanks In Advance.