Fixed a bug and some texture Issues