e7cd4cfa25
The reason for the bug was an u16 overflow, thus failing the assert. This only happened in Debug build but not in Release builds.