Advanced Machine Texture Fix

Some Fix for Advanced Machine 1.6.4!