camera works properly in x axis