fix max overdraw mechanism