sweet jesus i finally fixed the corner instability