ok got those stupid rendering bugs mostly fixed

cross-platform dev is a mess