Fix for inverted boards